package org.mespilus.mespilusweb.datalayer.securitymanagement;

import java.util.List;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

import org.mespilus.mespilusweb.datalayer.usermanagement.Member;

@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class UsersManagement {
	@PrimaryKey
	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
	private int id;
	
	@Persistent
	protected List<Member> readonly;
	
	@Persistent
	protected List<Member> readWrite;

	public List<Member> getReadonly() {
		return readonly;
	}

	public void setReadonly(List<Member> readonly) {
		this.readonly = readonly;
	}

	public List<Member> getReadWrite() {
		return readWrite;
	}

	public void setReadWrite(List<Member> readWrite) {
		this.readWrite = readWrite;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}
	
	
}
